<%@ page import="com.conversationboard.model.*" %>
<%@ page import="com.conversationboard.view.*" %>
<%@ page import="com.conversationboard.config.*" %>
<%@ page import="java.security.*" %>
<%@ page import="com.conversationboard.controller.confirm.Confirm"%>

<%@ page pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8"%>

<%
    Bookmarks bookmarks = (Bookmarks) request.getAttribute("bookmarks");
    Principal principal = request.getUserPrincipal();
%>


<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<title>Bookmarks</title>
		<link rel="stylesheet" type="text/css" href="<%=Configuration.getInstance().getRoot()%>/Stylesheets/<%=StyleSheets.getStyleSheetFileName(request.getCookies())%>"/>
	</head>

	<body>
	
		<%= MainMenu.display(principal) %>

		<div class="headingblock">
			<h1>Your Bookmarks</h1>
		</div>

		<div class="mainblock">

			<%= BookmarksDisplay.display(bookmarks, true) %>

			<p>Bookmarks let you store links to messages on boards. Just click the 'Bookmark' link next to a message
			to add one.</p>
			
			<p>If you bookmark a message in the same thread twice, the first bookmark will be overwritten. This is
			to help people who want to pick up on a thread where they left off.</p>
			
			<p>If you bookmark the last message in a thread, then the bookmark can tell you if that thread has been
			updated recently; that is, whether there are any messages on the thread subsequent to the message you
			bookmarked.</p>

			<p>If you have a bookmarked thread, and you subsequently add a message to that thread, then the bookmark
			   will be automatically updated to point at your latest message.</p>

		</div>
		
		<!--<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>-->
		<!--<script type="text/javascript">_uacct = "UA-1148679-1";urchinTracker();</script>--> 
		
	</body>
	
</html>
